package com.siteseat.common.deploy;

import java.util.Map;

import com.siteseat.common.security.SecurityException;

/**
 *
 * @author yqiang
 */
public interface DeployRepository {

  /**
   * 
   *
   * @return
   */
  Map<String, DeployEntry> getEntries();

  /**
   * 
   *
   * @param entry
   * @return
   */
  public void deploy( DeployEntry entry ) throws SecurityException;

  /**
   * 
   *
   * @param entry
   * @return
   */
  public void redeploy( DeployEntry entry ) throws SecurityException;

  /**
   * 
   *
   * @param entry
   */
  public void undeploy( DeployEntry entry ) throws SecurityException;
  
  
  
}
